//
//  IMTUnitHelper.h
//  INMOTION
//
//  Created by 方人疋 on 2018/4/20.
//  Copyright © 2018年 Inmotion. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface IMTUnitHelper : NSObject

@property (nonatomic, assign, class) BOOL useMetricUnit;

+ (double)temperatureForValue:(double)value;
+ (nonnull NSString *)temperatureUnit;

+ (double)speedForValue:(double)value;
+ (double)speedForValue1:(double)value;
+ (nonnull NSString *)speedUnit;

+ (double)energyConsumptionForValue:(double)value;
+ (nonnull NSString *)energyConsumptionUnit;

+ (double)mileageForValue:(double)value;
+ (nonnull NSString *)mileageUnit;

+ (nonnull NSString *)timeStringForInterval:(double)interval;

@end
